
function showArmy(divId, player, noOfArmy){
	console.debug("  showArmy(divId: '%s', player: '%s', noOfArmy: '%s')", divId, player, noOfArmy);
	var background;
	var color;
	switch(parseInt(player)){
		case 1:
		background = "../images/glass_button_black.png";
		color = "white";
		break;
		case 2:
		background = "../images/glass_button_blue.png";
		color = "black";
		break;
		case 3:
		background = "../images/glass_button_gray.png";
		color = "black";
		break;
		case 4:
		background = "../images/glass_button_green.png";
		color = "black";
		break;
		case 5:
		background = "../images/glass_button_red.png";
		color = "black";
		break;
		case 0:
		background = "../images/glass_button_yellow.png";
		color = "black";
		break;
		default:
		console.debug("Error: no such player %s", player);
	}
	
	$("#"+divId).css("backgroundImage","url("+background+")")
	.css("color",color)
	.html(parseInt(noOfArmy));
}
